package com.bjsxt.chapter15_command;

/**
 * @ClassName Client
 * @Description 客户端
 * @Author 黑马程序员
 * @Date 16:52 2024/6/23
 * @Version 1.0
 **/
public class Client {

    public static void main(String[] args) {
        Command c = new ConcreteCommand(new Receiver());
        Invoker invoker = new Invoker(c);
        invoker.call();

        new Receiver().action();
    }
}
